package cn.zjutleo.village_server.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.sql.Timestamp;
import java.util.Date;
import lombok.Data;

@ApiModel(value="租房预约实体类")
@Data
public class HouseRentOrder {

    /**
    * 租房预约表id
    */
    @ApiModelProperty(value="租房预约表id")
    private Integer id;

    /**
    * 预约房屋id(外键)
    */
    @ApiModelProperty(value="预约房屋id(外键)")
    private Integer rentId;

    /**
    * 预约人id(外键)
    */
    @ApiModelProperty(value="预约人id(外键)")
    private Integer tenantId;

    /**
    * 房东id(外键)
    */
    @ApiModelProperty(value="房东id(外键)")
    private Integer hostId;

    /**
    * 预约时间
    */
    @ApiModelProperty(value="预约时间")
    private Date orderTime;
}